package com.xxgc.demo;

import com.dtflys.forest.springboot.annotation.ForestScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableScheduling
//开启发送http请求扫描
@ForestScan(basePackages = "com.xxgc.demo.http")
//开启springboot整合缓存
@EnableCaching
@SpringBootApplication
@MapperScan("com.xxgc.demo.mapper")
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
